<?php

namespace App\Consts;

class GlobalPackageConst
{

    public const DEFAULT_NAME = '默认收藏夹';

    // 是否未默认收藏夹，0否，1是
    public const IS_NOT_DEFAULT = 0;
    public const IS_DEFAULT = 1;

    // 是否公开，0否，1是
    public const IS_NOT_PUBLIC = 0;
    public const IS_PUBLIC = 1;

    public const TAB_TYPE_ALL = 'all';
    public const TAB_TYPE_ARTICLE = 'article';
    public const TAB_TYPE_NOTE = 'note';

    public const TARGET_TYPE = [
        self::TAB_TYPE_ALL => [GlobalConst::TARGET_TYPE_ARTICLE, GlobalConst::TARGET_TYPE_NOTE],
        self::TAB_TYPE_ARTICLE => GlobalConst::TARGET_TYPE_ARTICLE,
        self::TAB_TYPE_NOTE => GlobalConst::TARGET_TYPE_NOTE,
    ];

    // 系统收藏夹的启用状态，0禁用，1启用
    public const STATUS_DISABLE = 0;
    public const STATUS_NORMAL = 1;

}
